package com.yoyo.ad.main;

import android.view.View;
import android.view.ViewGroup;

public interface IAdFactory_ {

    void setAdView(IAdView adView);

    void setAdBannerListener(IAdBannerListener adView);

    void setAdInteractionListener(IAdInteractionListener adInteractionListener);

    /**
     * 广告展示成功后的配置信息
     */
    void setConfig(long adId, int adPositionId, boolean isIpReport);

    void getYoyoAd(int position, int requestCode, int size, String adPlaceId, int type);

    void getExpressAd(int position, int requestCode, String adPlaceId, int size, int width);

    void getBanner(int position, int requestCode, String adPlaceId, ViewGroup adsParent, int width, int height);

    void getInteraction(int position, final int requestCode, String adPlaceId);

    void onDestroy();
}
